package com.zycs.entity;

public class User {
    private String username;
    private String password;
    private String identity;
    private String number; // 修正属性名

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getNumber() { // 修正 getter 方法
        return number;
    }

    public void setNumber(String number) { // 修正 setter 方法
        this.number = number;
    }

    @Override
    public String toString() {
        return "User{" +
                "number='" + number + '\'' + // 修正 toString 方法
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", identity='" + identity + '\'' +
                '}';
    }

    public void setNunber(String number) {
    }
}